package com.sjd.mall.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @ProjectName: sjd
 * @Package: com.sjd.mall.domain
 * @ClassName: SjdAccountAddrDO
 * @Author: genglong
 * @Description: 账户信息
 * @Date: 2022/1/12 13:50
 * @Version: 1.0
 */
@Data
@Builder
@Table(name = "sjd_account")
public class SjdAccountDO implements Serializable {

    private static final long serialVersionUID = 8446928454387640252L;

    /**
     * 自增id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 会员id
     */
    private Long memberId;

    /**
     * 账户等级
     */
    private Integer memberLevel;

    /**
     * 金豆数量
     */
    private Integer goldenNum;

    /**
     * 积分
     */
    private Integer integral;

    /**
     * 所属族群
     */
    private String belongGroup;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date modifyTime;
}
